﻿using JzSport.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JzSport.Api.Params
{
    class GetInstantMessageList4ActivityParams : IActionParams
    {
        public Guid ActivityId { get; set; }

        public void ParseQueryString(System.Web.HttpRequest request)
        {
            this.ActivityId = new Guid(request.QueryString["op:activityid"]);
        }

        public void ParseForm(System.Web.HttpRequest request)
        {
            this.ActivityId = new Guid(request.Form["op:activityid"]);
        }
    }
}
